package com.linshengjian.power.entity;

import com.linshengjian.core.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;

@Accessors(chain = true)
@Data
@Entity(name = "resources")
public class ResourcesEntity extends BaseEntity<Integer> {
    @Column(nullable = false, unique = true)
    String path;
    String summary;
    String description;

    @Column(columnDefinition = "boolean default true")
    Boolean usable = true; // 是否可用的
}
